<style>.footer.footer-home {display: none;}</style>
<div id="order-list-page">

    <div class="header" style="<?php if($output['is_weixin'] ==1){ ?>display: none; <?php } ?>">
        <a href="index.php?act=member&op=order" class="return iconfont icon-shangyiye"></a>
        <div class="header-title">订单详情</div>
    </div>
<div style="height:4rem;" class="ddd"></div>
<div class="order-list">
    <ul>
        <li>
            <div class="list-mid">
                <div class="list-img">
                    <img src="<?php echo $output['order']['ticket_thumb']; ?>" />
                </div>
                <div class="list-info">
                    <p class="title mult-title"><?php echo $output['order']['ticket_title']; ?></p>
                    <?php if($output['order']['order_type']==2){ ?>
                    <div><span>¥</span><?php echo $output['order']['tk_show_price']; ?><span> / 张</span>   <!--<span class="fr">×2</span>--></div>
                    <?php }elseif($output['order']['order_type']==1){?>
                    <div><span>¥</span><?php echo $output['skus'][0]['unit_price']; ?><span> / 间</span>   <!--<span class="fr">×2</span>--></div>
                    <?php }?>
                </div>
            </div>
        </li>
    </ul>
</div>

<div class="order-detail">
    <div class="detail-top line">
        <p>使用方式</p>
    </div>
    <div class="detail-content">
        <ul>
            <?php if($output['order']['order_type']==2){ ?>
                <!-- 门票详情 -->
            <li>
                <label class="caption">目的地</label>
                <label><?php echo $output['order']['tk_full_addr']; ?></label>
            </li>
            <?php if ($output['order']['allow_date']): ?>
            <li>
                <label class="caption">出游日期</label>
                <label><?php echo $output['order']['allow_date']; ?></label>
            </li>
            <?php endif; ?>
            <li>
                <label class="caption">门票详情</label>
                <label>
                    <?php foreach ($output['skus'] as $sku): ?>
                    <?php echo $sku['type_name']; ?>   ×<?php echo $sku['ot_num']; ?><br />
                    <?php endforeach; ?>
                </label>
            </li>
            <?php }elseif($output['order']['order_type']==1){ ?>
                <!-- 酒店详情 -->
                <li>
                    <label class="caption">房间信息</label>
                    <label><?php echo $output['order']['spec_name']; ?></label>
                </li>
                <li>
                    <label class="caption">房间数量</label>
                    <label><?php echo $output['skus'][0]['oh_num']; ?>间</label>
                </li>
                <li>
                    <label class="caption">入住时间</label>
                    <label><?php echo $output['skus'][0]['startdate']; ?></label>
                </li>
                <li>
                    <label class="caption">离店时间</label>
                    <label><?php echo $output['skus'][0]['enddate']; ?></label>
                </li>
                <li>
                    <label class="caption">合计晚数</label>
                    <label><?php echo $output['skus'][0]['numdate']; ?>晚</label>
                </li>
                <li>
                    <label class="caption">酒店地址</label>
                    <label><?php echo $output['order']['tk_full_addr']; ?></label>
                </li>
            <?php }elseif($output['order']['order_type']==3) {?>
                <!-- 美食详情 -->
                <li>
                    <label class="caption">套餐信息</label>
                    <label><?php echo $output['order']['spec_name']; ?></label>
                </li>
                <li>
                    <label class="caption">购买数量</label>
                    <label><?php echo $output['skus'][0]['og_num']; ?>份</label>
                </li>
                <li>
                    <label class="caption">餐厅地址</label>
                    <label><?php echo $output['order']['tk_full_addr']; ?></label>
                </li>
            <?php }elseif($output['order']['order_type']==4){?>
                <!-- 旅行社 -->
                <li>
                    <label class="caption">路线信息</label>
                    <label><?php echo $output['order']['spec_name']; ?></label>
                </li>
                <li>
                    <label class="caption">购买数量</label>
                    <label><?php echo $output['skus'][0]['og_num']; ?>份</label>
                </li>
                <li>
                    <label class="caption">旅行社地址：</label>
                    <label><?php echo $output['order']['tk_full_addr']; ?></label>
                </li>
                <li>
                    <label class="caption">出发日期：</label>
                    <label><?php echo $output['skus'][0]['startdate']; ?></label>
                </li>
            <?php }?>
        </ul>
    </div>
</div>

<div class="order-detail">
    <div class="detail-top line">
        <p>电子票信息</p>
    </div>
    <div class="detail-content">
        <ul>
            <li>
                <label class="caption">券码</label>
                <label><?php echo $output['order']['ticket_code']; ?></label>
            </li>
        </ul>
    </div>
</div>

<div class="order-detail">
    <div class="detail-top line">
        <p>订单信息</p>
    </div>
    <div class="detail-content">
        <ul>
            <li>
                <label class="caption">订单编号</label>
                <label><?php echo $output['order']['order_sn']; ?></label>
            </li>
            <li>
                <label class="caption">预定人</label>
                <label><?php echo $output['order']['member_name']; ?></label>
            </li>
            <li>
                <label class="caption">预定人手机</label>
                <label><?php echo $output['order']['member_phone']; ?></label>
            </li>
            <li>
                <label class="caption">总价</label>
                <label><samp>¥<?php echo $output['order']['need_pay']; ?></samp></label>
            </li>
        </ul>
    </div>
</div>
</div>